home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / timerit / readme.txt next >
Text File  |  1995-12-22  |  2KB  |  58 lines

  1. This is the Readme.txt file for the component
  2. TTimerIterate contained within Timeit.pas.
  3.  
  4. {*******************************}
  5. { Author: Eric Uber             }
  6. { CIS Account: 71102,3034       }
  7. { Written: June 14th 1995.      }
  8. { Freeware, distribute at will. }
  9. {*******************************}
  10.  
  11. Description: TTimerIterate is different than TTimer. 
  12.              TTimerIterate executes (if enabled) its
  13.              OnTimer event ONLY a specifed number of 
  14.              times. When done, it then fires another 
  15.              special event and disables itself.
  16.  
  17.              Why is this cool? If you wish to display
  18.              a dialog for a set number of seconds then
  19.              close the dialog, then this component is 
  20.              perfect.     
  21.  
  22.              TTimerIterate adds ONE property and ONE event to
  23.              the standard TTimer object.
  24.  
  25.              The property is:
  26.  
  27.              * NumTicks { The OnTimer Event will Fire }
  28.                         { this many times.            }            
  29.  
  30.              The Event is:
  31.  
  32.              * OnLastTick { Fires immediatly following }
  33.                           { the last OnTimer           }
  34.  
  35. Instructions: 1. Install component (RTFM)
  36.               2. Drop on form.
  37.               3. Set NumTicks property to a value > 0.
  38.               4. Put code in the OnTimer method.
  39.               5. Put code in the OnLastTick method.
  40.               6. Run program.
  41.  
  42.               The OnTimer method will executes NumTicks times
  43.               and then execute the OnLastTick event and then
  44.               disable itself. 
  45.               
  46. Install Note: TTimerIterate is a Non-Visual component that 
  47.               that is a subclassed imediate child class of
  48.               Delphi's stock TTimer object. This thus requires
  49.               ExtCtrls.pas or ExtCtrls.dcu to be available for
  50.               this components installation and program inclusion.
  51.  
  52.               The point is Timerit.pas USES Extctrls.pas.
  53.  
  54. {----------------------------------------------------------}
  55.  Please report suggestions or bugs to...
  56.  Author: Eric Uber           
  57.  CIS Account: 71102,3034 
  58. {----------------------------------------------------------}